package com.goods.business.mapper;

import com.goods.common.model.business.ProductStock;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface ProductStockMapper extends Mapper<ProductStock> {
    //查询分类下的物资库存信息。
    List<Map> findProductStocks(@Param("three_category_id") Long three_category_id,
                                @Param("name") String name);

    //查询所有的库存信息需要的数据。
    List<Map> findAllStocks(@Param("three_category_id")  Long three_category_id);

}
